package com.bite.book.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.math.BigDecimal;
import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class BookInfo {
    private Integer id;
    @JsonProperty(value = "bookName")
    private String bookName;
    @JsonProperty(value = "author")
    private String author;
    @JsonProperty(value = "count")
    private Integer count;
    @JsonProperty(value = "price")
    private Float price;
    @JsonProperty(value = "publish")
    private String publish;
    private Integer status;
    private String state;
    private Date createTime;
    private Date updateTime;
}
